import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    isShow:"",
    isFlag:0,
    imgPic:""
  },
  mutations: {
    modify(state,payload){
      this.state.isShow=payload.show
      // console.log(this.state.isShow)
    },
    modifyAnimate(state,payload){
      this.state.isFlag=payload
    },
    modifyImg(state,payload){
      this.state.imgPic=payload
    },
  },
  actions: {
  },
  modules: {
  }
})
